package com.fms.entity;

import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;


@Builder
@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class Attendance {
    private  Long id; //'主键id',
    private Long taskId; //'签到任务id',
    private String username;  //'用户名外键',
    private LocalDate date; //'签到日期',
    private String outImgUrl;//签到图片url',
    private Double inLongitude;  //'签到地点经度',
    private Double inLatitude;  //'签到地点纬度',
    private LocalDateTime inTime;  //'签到时间',
    private String inImgUrl;//签退图片url',
    private Double outLongitude; //'签退地点经度',
    private Double outLatitude; //'签退地点纬度',
    private LocalDateTime outTime; //'签退时间',
    private Integer status;  //'签到状态，1：任务开始（未签到）->（ 2：已签到 -> 3：已补签 ） -> 4:已签退 -> 5:任务结束'
}
